﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using AccessControl.ManagementReport.Form;
using System.Threading;
using FarsiLibrary.Utils;
using System.Globalization;



namespace AccessControl.ManagementReport
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            var cultureInfo = new CultureInfo("fa-IR");
            Thread.CurrentThread.CurrentUICulture = cultureInfo;
            InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(cultureInfo);
            Thread.CurrentThread.CurrentUICulture = new FarsiLibrary.Utils.PersianCultureInfo();
            Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Report());
            Properties.Settings.Default.Save();
        }
    }
}
